package com.yiwei.zhh.api.callback;

import com.yiwei.zhh.api.contract.BaseContract;
import com.yiwei.zhh.model.ContentDetailModel;
import com.yiwei.zhh.model.ContractModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface AboutContract {
    interface View extends BaseContract.BaseView {
        void getAboutSuccess(ContentDetailModel item);

        void getContractSuccess(ContractModel item);

        void getWeiTuo(ContractModel item);

        void getFuWuHeTong(ContractModel item);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getAbout();

        void getContractInfo(String id, String type_id, String deal_id);

        void getWeiTuo(String id);

        void getFuWuHeTong(String id, String borrow_amount, String borrow_limit_day, String borrow_apr, String service_fee,String bankcard_id);
    }
}
